<!DOCTYPE html>
<html lang="zh_cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>城市列表</title>
</head>
<body>
    <table border="1">
        <thead>
            <tr>
                <th>编号</th>
                <th>城市</th>
                <th>省份</th>
            </tr>
        </thead>
        <tbody>
            <tr th:each="city : ${citys}">
                <td th:text="${city.id}">1</td>
                <td th:text="${city.name}">1</td>
                <td th:text="${city.province}">1</td>
            </tr>
        </tbody>
    </table>
</body>
</html>